package com.mine.service;

import com.mine.proxy.ProxyFactory;
import com.mine.service.impl.HelloService;

/**
 * @author weixiao
 * @date 2025/3/31 10:32
 */
public class Consumer {

    public static void main(String[] args) {
        HelloService helloService = ProxyFactory.getProxy(HelloService.class);
        String result = helloService.sayHello("小红");
        System.out.println(result);
    }
}
